/**
 * @filename:Stock 2023-4-19
 * Copyright(c) 2022 Wonder Co. Ltd.
 * All right reserved.
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.FieldFill;

/**
 * @Description:TODO(股票管理实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_mold_chain")
@ApiModel(value="t_mold_chain对象", description="模具链")
public class MoldChain extends Model<MoldChain> {

    @TableId(value ="Id" , type = IdType.AUTO)
    @ApiModelProperty(name = "Id" , value = "编号")
    private Long Id;

    @TableField(value = "locationNo")
    @ApiModelProperty(name = "locationNo" , value = "仓位编码")
    private String locationNo;

    @TableField(value = "locationName")
    @ApiModelProperty(name = "locationName" , value = "仓位名称")
    private String locationName;

    @TableField(value = "materialName")
    @ApiModelProperty(name = "materialName" , value = "模具名称")
    private String materialName;

    @TableField(value = "materialNo")
    @ApiModelProperty(name = "materialNo" , value = "模具编码")
    private String materialNo;

    @TableField(value = "stockNo")
    @ApiModelProperty(name = "stockNo" , value = "仓库编码")
    private String stockNo;

    @TableField(value = "stockName")
    @ApiModelProperty(name = "stockName" , value = "仓库名称")
    private String stockName;

    @TableField(value = "status")
    @ApiModelProperty(name = "status" , value = "库存状态")
    private Boolean status;

    @TableField(value = "useAllCount")
    @ApiModelProperty(name = "useAllCount" , value = "使用总次数")
    private Long useAllCount;

    @TableField(value = "useCount")
    @ApiModelProperty(name = "useCount" , value = "检查后使用次数")
    private Long useCount;

    @TableField(value = "inspectCount")
    @ApiModelProperty(name = "inspectCount" , value = "检查次数")
    private Long inspectCount;

    @TableField(value = "inspectStatus")
    @ApiModelProperty(name = "inspectStatus" , value = "检验状态")
    private Boolean inspectStatus;

    @TableField(value = "ruleNo")
    @ApiModelProperty(name = "ruleNo" , value = "模具使用规则")
    private String ruleNo;

}
